ARD2  1.00 for Rev B. Hardware
Airbag Reference Demonstrator using MPC5604P
Decision.c File Reference

Decision state for the ARD2 application. More...

#include "derivative.h"
#include "Compile_Options.h"
#include "Decision.h"
#include "SM.h"
#include "SBC_AL.h"
#include "HAL.h"
#include "MailScheduler.h"
#include "Application_Globals.h"
#include "SIU.h"

Functions

uint32_t u32fnStateDecision (void)
 Decision state.

Variables

const uint16_t cau16PreDecisionValidStates []

Detailed Description

Decision state for the ARD2 application.

Copyright (C) 2011 Freescale Semiconductor Freescale Confidential Proprietary

Author:
Freescale Semiconductor
SASD Automotive
r11515
Version:
Date:
Warning:
(If needed)

History:


Function Documentation

uint32_t u32fnStateDecision ( void  )

Decision state.

Parameters:
Void.
Returns:
u32Status: Clear if it is a valid source; SM_STATE_IS_EXECUTING if this state was entered while another one was already executing; SM_INVALID_SOURCE_STATE if the source state is not in the pu16ValidStateList; other error codes are also possible.

Variable Documentation

const uint16_t cau16PreDecisionValidStates[]
Initial value:
{
  SM_STATE_ERROR, SM_STATE_ACQUISITION }

List of valid source states for this state